package com.xiyin.service.impl;

import com.xiyin.entity.UserLock;
import com.xiyin.mapper.UserLockMapper;
import com.xiyin.service.IUserLockService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xukaihang
 * @since 2024-08-18
 */
@Service
public class UserLockServiceImpl extends ServiceImpl<UserLockMapper, UserLock> implements IUserLockService {

    @Autowired
    private UserLockMapper userLockMapper;
    @Override
    public List<UserLock> queryAll() {
        return userLockMapper.selectAll();
    }

    @Override
    public List<UserLock> queryList() {
        return userLockMapper.selectList(null);
    }


}
